using System;
using SheLife.Domain.Common;

namespace SheLife.Domain.Entities
{
    /// <summary>
    /// 社区帖子收藏实体
    /// </summary>
    public class CommunityPostCollection : BaseEntity
    {
        public int UserId { get; set; }
        public int PostId { get; set; }
        public DateTime CollectDate { get; set; } // 收藏日期

        // 导航属性
        public virtual User User { get; set; }
        public virtual CommunityPost CommunityPost { get; set; }
    }
}